package com.lgy.springboot_example.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;

@Data
@ApiModel("角色")
public class Role {
    @Id
    @ApiModelProperty("主键自增")
    private Integer roleId;
    @ApiModelProperty("角色名称")
    private String roleName;
    @ApiModelProperty("用户模块权限")
    private Integer userModel;
    @ApiModelProperty("订单模块权限")
    private Integer orderModel;
    @ApiModelProperty("评论模块权限")
    private Integer commentModel;
}
